package com.lzs.DAO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzs.PO.Reimbursement;

public interface ReimbursementDAO {

	public List<Reimbursement> findReimbursementByRuralIdAndYear(@Param("rural_id")String rural_id, @Param("year")String year);

	public void addReimbursement(Map<String, Object> map);

	public List<Reimbursement> findReimbursementList(@Param("keyword")String keyword);

	public List<Reimbursement> findReimbursementPagelist(@Param("keyword")String keyword, @Param("startIndex")int startIndex, 
			                                                                                          @Param("pageSize")Integer pageSize);

	public Reimbursement findReimbursementById(@Param("reimbursement_id")String reimbursement_id);

	public void updateReimbursement(Map<String, Object> map);

}
